﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VirtualTournaments.Business.Bets;

namespace VirtualTournaments.Services.Bets
{
    public enum MatchResultEnum
    {
        Home =1 ,
        Away,
        Draw
    }



    public class MatchResultEnumServiceBusinessConversor
    {
        public static Business.Bets.MatchWinningTeam Convert(MatchResultEnum from){
            return (MatchWinningTeam)((int)from);
        }

        public static MatchResultEnum  Convert(MatchWinningTeam from)
        {
            return (MatchResultEnum )((int)from);
        }
    }
}
